<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: jetson-inference/objectTrackerIOU.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('objectTrackerIOU_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">objectTrackerIOU.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="objectTrackerIOU_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * copy of this software and associated documentation files (the &quot;Software&quot;),</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * to deal in the Software without restriction, including without limitation</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * all copies or substantial portions of the Software.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef __OBJECT_TRACKER_IOU_H__</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define __OBJECT_TRACKER_IOU_H__</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="objectTracker_8h.html">objectTracker.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ga169cc3fe68a9927dc66de0b843c8b02b">   34</a></span>&#160;<span class="preprocessor">#define OBJECT_TRACKER_DEFAULT_MIN_FRAMES 3</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ga511a83079169144d81877063aa6b9601">   40</a></span>&#160;<span class="preprocessor">#define OBJECT_TRACKER_DEFAULT_DROP_FRAMES 15</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="objectTrackerIOU_8h.html#ae58476b12123b6c20c8baa58022b8999">   45</a></span>&#160;<span class="preprocessor">#define OBJECT_TRACKER_DEFAULT_OVERLAP_THRESHOLD 0.5</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__objectTracker.html">   59</a></span>&#160;<span class="keyword">class </span><a class="code" href="group__objectTracker.html#classobjectTrackerIOU">objectTrackerIOU</a> : <span class="keyword">public</span> <a class="code" href="group__objectTracker.html#classobjectTracker">objectTracker</a></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;{</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#classobjectTrackerIOU">objectTrackerIOU</a>* <a class="code" href="group__objectTracker.html#a6dfd410aa3f05ae8fb8773e102410953">Create</a>( uint32_t minFrames=<a class="code" href="group__objectTracker.html#ga169cc3fe68a9927dc66de0b843c8b02b">OBJECT_TRACKER_DEFAULT_MIN_FRAMES</a>,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;                                                           uint32_t dropFrames=<a class="code" href="group__objectTracker.html#ga511a83079169144d81877063aa6b9601">OBJECT_TRACKER_DEFAULT_DROP_FRAMES</a>,</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                                                           <span class="keywordtype">float</span> overlapThreshold=<a class="code" href="objectTrackerIOU_8h.html#ae58476b12123b6c20c8baa58022b8999">OBJECT_TRACKER_DEFAULT_OVERLAP_THRESHOLD</a> );</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#classobjectTrackerIOU">objectTrackerIOU</a>* <a class="code" href="group__objectTracker.html#a6dfd410aa3f05ae8fb8773e102410953">Create</a>( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv );</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#classobjectTrackerIOU">objectTrackerIOU</a>* <a class="code" href="group__objectTracker.html#a6dfd410aa3f05ae8fb8773e102410953">Create</a>( <span class="keyword">const</span> <a class="code" href="group__commandLine.html#classcommandLine">commandLine</a>&amp; cmdLine );</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="group__objectTracker.html#afdfea91f9fd6cde7023bdb260a15b500">~objectTrackerIOU</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ab39a3c02469deee2c3924269d1ff1fac">   89</a></span>&#160;        <span class="keyword">inline</span> uint32_t <a class="code" href="group__objectTracker.html#ab39a3c02469deee2c3924269d1ff1fac">GetMinFrames</a>()<span class="keyword"> const                                    </span>{ <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#a5f3c4a191c4beee602cda91d28c7bf50">mMinFrames</a>; }</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__objectTracker.html#af36d75b05f6dd5c0e56f062d16139e32">   94</a></span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__objectTracker.html#af36d75b05f6dd5c0e56f062d16139e32">SetMinFrames</a>( uint32_t frames )                             { <a class="code" href="group__objectTracker.html#a5f3c4a191c4beee602cda91d28c7bf50">mMinFrames</a> = frames; }</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a143a4c23a9f0772a54808e8743a844b6">   99</a></span>&#160;        <span class="keyword">inline</span> uint32_t <a class="code" href="group__objectTracker.html#a143a4c23a9f0772a54808e8743a844b6">GetDropFrames</a>()<span class="keyword"> const                                   </span>{ <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#aa9ebd4f756eea7d50e273f9c9e2de433">mDropFrames</a>; }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a7c1336931cf2daea9d65c1b53ce83897">  104</a></span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__objectTracker.html#a7c1336931cf2daea9d65c1b53ce83897">SetDropFrames</a>( uint32_t frames )                            { <a class="code" href="group__objectTracker.html#aa9ebd4f756eea7d50e273f9c9e2de433">mDropFrames</a> = frames; }</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__objectTracker.html#aca76ea89fbb546ff04adb5d785b287ae">  109</a></span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="group__objectTracker.html#aca76ea89fbb546ff04adb5d785b287ae">GetOverlapThreshold</a>()<span class="keyword"> const                                </span>{ <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#ab9527f0bcb5c2aeec1d13b74e5080a86">mOverlapThreshold</a>; }</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ae53fd4e2fcfbd27a54ec6cafe8281d06">  114</a></span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__objectTracker.html#ae53fd4e2fcfbd27a54ec6cafe8281d06">SetOverlapThreshold</a>( <span class="keywordtype">float</span> threshold )              { <a class="code" href="group__objectTracker.html#ab9527f0bcb5c2aeec1d13b74e5080a86">mOverlapThreshold</a> = threshold; }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ac31321c1fc77b246f2e2989c5ed44e2c">  119</a></span>&#160;        <span class="keyword">inline</span> <span class="keyword">virtual</span> <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a> <a class="code" href="group__objectTracker.html#ac31321c1fc77b246f2e2989c5ed44e2c">GetType</a>()<span class="keyword"> const                                     </span>{ <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100ba7d48eb1e17a7473381659dff682848a0">IOU</a>; }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="group__objectTracker.html#ae71bd2490e9b7488033e2e508951bd69">Process</a>( <span class="keywordtype">void</span>* image, uint32_t width, uint32_t height, <a class="code" href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a> format, <a class="code" href="structdetectNet_1_1Detection.html">detectNet::Detection</a>* detections, <span class="keywordtype">int</span> numDetections );</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        <a class="code" href="group__objectTracker.html#ab3209fde5eba3d43e3831d76c4004a38">objectTrackerIOU</a>( uint32_t minFrames, uint32_t dropFrames, <span class="keywordtype">float</span> overlapThreshold );</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a5aeee4575fab31a8edf0d05c592603e7">  129</a></span>&#160;        uint32_t <a class="code" href="group__objectTracker.html#a5aeee4575fab31a8edf0d05c592603e7">mIDCount</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a49598bffedadd29d7712ebf56702879a">  130</a></span>&#160;        uint64_t <a class="code" href="group__objectTracker.html#a49598bffedadd29d7712ebf56702879a">mFrameCount</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a5f3c4a191c4beee602cda91d28c7bf50">  132</a></span>&#160;        uint32_t <a class="code" href="group__objectTracker.html#a5f3c4a191c4beee602cda91d28c7bf50">mMinFrames</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__objectTracker.html#aa9ebd4f756eea7d50e273f9c9e2de433">  133</a></span>&#160;        uint32_t <a class="code" href="group__objectTracker.html#aa9ebd4f756eea7d50e273f9c9e2de433">mDropFrames</a>;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ab9527f0bcb5c2aeec1d13b74e5080a86">  135</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="group__objectTracker.html#ab9527f0bcb5c2aeec1d13b74e5080a86">mOverlapThreshold</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a2380c79a26aab8d41fdbaaa143ba5c6d">  137</a></span>&#160;        std::vector&lt;detectNet::Detection&gt; <a class="code" href="group__objectTracker.html#a2380c79a26aab8d41fdbaaa143ba5c6d">mTracks</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;};</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="agroup__objectTracker_html_ga169cc3fe68a9927dc66de0b843c8b02b"><div class="ttname"><a href="group__objectTracker.html#ga169cc3fe68a9927dc66de0b843c8b02b">OBJECT_TRACKER_DEFAULT_MIN_FRAMES</a></div><div class="ttdeci">#define OBJECT_TRACKER_DEFAULT_MIN_FRAMES</div><div class="ttdoc">The number of re-identified frames before establishing a track.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:34</div></div>
<div class="ttc" id="agroup__objectTracker_html_a5aeee4575fab31a8edf0d05c592603e7"><div class="ttname"><a href="group__objectTracker.html#a5aeee4575fab31a8edf0d05c592603e7">objectTrackerIOU::mIDCount</a></div><div class="ttdeci">uint32_t mIDCount</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:129</div></div>
<div class="ttc" id="agroup__objectTracker_html_a49598bffedadd29d7712ebf56702879a"><div class="ttname"><a href="group__objectTracker.html#a49598bffedadd29d7712ebf56702879a">objectTrackerIOU::mFrameCount</a></div><div class="ttdeci">uint64_t mFrameCount</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:130</div></div>
<div class="ttc" id="agroup__objectTracker_html_ae53fd4e2fcfbd27a54ec6cafe8281d06"><div class="ttname"><a href="group__objectTracker.html#ae53fd4e2fcfbd27a54ec6cafe8281d06">objectTrackerIOU::SetOverlapThreshold</a></div><div class="ttdeci">void SetOverlapThreshold(float threshold)</div><div class="ttdoc">Set how much IOU overlap is required for a bounding box to be matched.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:114</div></div>
<div class="ttc" id="astructdetectNet_1_1Detection_html"><div class="ttname"><a href="structdetectNet_1_1Detection.html">detectNet::Detection</a></div><div class="ttdoc">Object Detection result.</div><div class="ttdef"><b>Definition:</b> detectNet.h:122</div></div>
<div class="ttc" id="agroup__objectTracker_html_a7c1336931cf2daea9d65c1b53ce83897"><div class="ttname"><a href="group__objectTracker.html#a7c1336931cf2daea9d65c1b53ce83897">objectTrackerIOU::SetDropFrames</a></div><div class="ttdeci">void SetDropFrames(uint32_t frames)</div><div class="ttdoc">Set the number of consecutive lost frames after which a track is removed.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:104</div></div>
<div class="ttc" id="agroup__objectTracker_html_classobjectTrackerIOU"><div class="ttname"><a href="group__objectTracker.html#classobjectTrackerIOU">objectTrackerIOU</a></div><div class="ttdoc">Object tracker using Intersection-Over-Union (IOU)</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:59</div></div>
<div class="ttc" id="agroup__objectTracker_html_ac31321c1fc77b246f2e2989c5ed44e2c"><div class="ttname"><a href="group__objectTracker.html#ac31321c1fc77b246f2e2989c5ed44e2c">objectTrackerIOU::GetType</a></div><div class="ttdeci">virtual Type GetType() const</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:119</div></div>
<div class="ttc" id="agroup__objectTracker_html_ab39a3c02469deee2c3924269d1ff1fac"><div class="ttname"><a href="group__objectTracker.html#ab39a3c02469deee2c3924269d1ff1fac">objectTrackerIOU::GetMinFrames</a></div><div class="ttdeci">uint32_t GetMinFrames() const</div><div class="ttdoc">The number of re-identified frames before before establishing a track.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:89</div></div>
<div class="ttc" id="agroup__objectTracker_html_a5f3c4a191c4beee602cda91d28c7bf50"><div class="ttname"><a href="group__objectTracker.html#a5f3c4a191c4beee602cda91d28c7bf50">objectTrackerIOU::mMinFrames</a></div><div class="ttdeci">uint32_t mMinFrames</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:132</div></div>
<div class="ttc" id="agroup__objectTracker_html_ab3209fde5eba3d43e3831d76c4004a38"><div class="ttname"><a href="group__objectTracker.html#ab3209fde5eba3d43e3831d76c4004a38">objectTrackerIOU::objectTrackerIOU</a></div><div class="ttdeci">objectTrackerIOU(uint32_t minFrames, uint32_t dropFrames, float overlapThreshold)</div></div>
<div class="ttc" id="agroup__objectTracker_html_afdfea91f9fd6cde7023bdb260a15b500"><div class="ttname"><a href="group__objectTracker.html#afdfea91f9fd6cde7023bdb260a15b500">objectTrackerIOU::~objectTrackerIOU</a></div><div class="ttdeci">virtual ~objectTrackerIOU()</div><div class="ttdoc">Destroy.</div></div>
<div class="ttc" id="agroup__objectTracker_html_aca76ea89fbb546ff04adb5d785b287ae"><div class="ttname"><a href="group__objectTracker.html#aca76ea89fbb546ff04adb5d785b287ae">objectTrackerIOU::GetOverlapThreshold</a></div><div class="ttdeci">float GetOverlapThreshold() const</div><div class="ttdoc">How much IOU overlap is required for a bounding box to be matched.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:109</div></div>
<div class="ttc" id="agroup__objectTracker_html_addf4c9de2082c91d13179a66bb2b100ba7d48eb1e17a7473381659dff682848a0"><div class="ttname"><a href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100ba7d48eb1e17a7473381659dff682848a0">objectTracker::IOU</a></div><div class="ttdeci">@ IOU</div><div class="ttdoc">Intersection-Over-Union (IOU) tracker.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:61</div></div>
<div class="ttc" id="agroup__objectTracker_html_a2380c79a26aab8d41fdbaaa143ba5c6d"><div class="ttname"><a href="group__objectTracker.html#a2380c79a26aab8d41fdbaaa143ba5c6d">objectTrackerIOU::mTracks</a></div><div class="ttdeci">std::vector&lt; detectNet::Detection &gt; mTracks</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:137</div></div>
<div class="ttc" id="agroup__objectTracker_html_classobjectTracker"><div class="ttname"><a href="group__objectTracker.html#classobjectTracker">objectTracker</a></div><div class="ttdoc">Object tracker interface.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:52</div></div>
<div class="ttc" id="aobjectTrackerIOU_8h_html_ae58476b12123b6c20c8baa58022b8999"><div class="ttname"><a href="objectTrackerIOU_8h.html#ae58476b12123b6c20c8baa58022b8999">OBJECT_TRACKER_DEFAULT_OVERLAP_THRESHOLD</a></div><div class="ttdeci">#define OBJECT_TRACKER_DEFAULT_OVERLAP_THRESHOLD</div><div class="ttdoc">How much IOU overlap is required for a bounding box to be matched.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:45</div></div>
<div class="ttc" id="agroup__objectTracker_html_addf4c9de2082c91d13179a66bb2b100b"><div class="ttname"><a href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">objectTracker::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">Tracker type enum.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:58</div></div>
<div class="ttc" id="agroup__objectTracker_html_a143a4c23a9f0772a54808e8743a844b6"><div class="ttname"><a href="group__objectTracker.html#a143a4c23a9f0772a54808e8743a844b6">objectTrackerIOU::GetDropFrames</a></div><div class="ttdeci">uint32_t GetDropFrames() const</div><div class="ttdoc">The number of consecutive lost frames after which a track is removed.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:99</div></div>
<div class="ttc" id="agroup__objectTracker_html_ab9527f0bcb5c2aeec1d13b74e5080a86"><div class="ttname"><a href="group__objectTracker.html#ab9527f0bcb5c2aeec1d13b74e5080a86">objectTrackerIOU::mOverlapThreshold</a></div><div class="ttdeci">float mOverlapThreshold</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:135</div></div>
<div class="ttc" id="agroup__objectTracker_html_af36d75b05f6dd5c0e56f062d16139e32"><div class="ttname"><a href="group__objectTracker.html#af36d75b05f6dd5c0e56f062d16139e32">objectTrackerIOU::SetMinFrames</a></div><div class="ttdeci">void SetMinFrames(uint32_t frames)</div><div class="ttdoc">Set the number of re-identified frames before before establishing a track.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:94</div></div>
<div class="ttc" id="agroup__objectTracker_html_aa9ebd4f756eea7d50e273f9c9e2de433"><div class="ttname"><a href="group__objectTracker.html#aa9ebd4f756eea7d50e273f9c9e2de433">objectTrackerIOU::mDropFrames</a></div><div class="ttdeci">uint32_t mDropFrames</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:133</div></div>
<div class="ttc" id="agroup__objectTracker_html_ga511a83079169144d81877063aa6b9601"><div class="ttname"><a href="group__objectTracker.html#ga511a83079169144d81877063aa6b9601">OBJECT_TRACKER_DEFAULT_DROP_FRAMES</a></div><div class="ttdeci">#define OBJECT_TRACKER_DEFAULT_DROP_FRAMES</div><div class="ttdoc">The number of consecutive lost frames after which a track is removed.</div><div class="ttdef"><b>Definition:</b> objectTrackerIOU.h:40</div></div>
<div class="ttc" id="agroup__objectTracker_html_a6dfd410aa3f05ae8fb8773e102410953"><div class="ttname"><a href="group__objectTracker.html#a6dfd410aa3f05ae8fb8773e102410953">objectTrackerIOU::Create</a></div><div class="ttdeci">static objectTrackerIOU * Create(uint32_t minFrames=OBJECT_TRACKER_DEFAULT_MIN_FRAMES, uint32_t dropFrames=OBJECT_TRACKER_DEFAULT_DROP_FRAMES, float overlapThreshold=OBJECT_TRACKER_DEFAULT_OVERLAP_THRESHOLD)</div><div class="ttdoc">Create a new object tracker.</div></div>
<div class="ttc" id="agroup__commandLine_html_classcommandLine"><div class="ttname"><a href="group__commandLine.html#classcommandLine">commandLine</a></div><div class="ttdoc">Command line parser for extracting flags, values, and strings.</div><div class="ttdef"><b>Definition:</b> commandLine.h:35</div></div>
<div class="ttc" id="aobjectTracker_8h_html"><div class="ttname"><a href="objectTracker_8h.html">objectTracker.h</a></div></div>
<div class="ttc" id="agroup__imageFormat_html_ga931c48e08f361637d093355d64583406"><div class="ttname"><a href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a></div><div class="ttdeci">imageFormat</div><div class="ttdoc">The imageFormat enum is used to identify the pixel format and colorspace of an image.</div><div class="ttdef"><b>Definition:</b> imageFormat.h:49</div></div>
<div class="ttc" id="agroup__objectTracker_html_ae71bd2490e9b7488033e2e508951bd69"><div class="ttname"><a href="group__objectTracker.html#ae71bd2490e9b7488033e2e508951bd69">objectTrackerIOU::Process</a></div><div class="ttdeci">virtual int Process(void *image, uint32_t width, uint32_t height, imageFormat format, detectNet::Detection *detections, int numDetections)</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_2e4d84877693cd000e5cb535f4b23486.html">jetson-inference</a></li><li class="navelem"><a class="el" href="objectTrackerIOU_8h.html">objectTrackerIOU.h</a></li>
    <li class="footer">Generated on Tue Mar 28 2023 14:27:58 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
